<?php
header("Content-type: text/html; charset=utf-8");
include "./pdo2.class.php";
$arr = array("type"=>"mysql","host"=>"localhost","dbname"=>"ghp_mysql","user"=>"root","password"=>"","charset"=>"utf8","prefix"=>"pro_");

$newpdo = new Mypdo($arr);
// var_dump($newpdo);
$sql = "select * from stu";
var_dump($newpdo->db_getRow($sql));
// $mypdo->connection();
// var_dump($mypdo->connect());


?>